/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.admanager.soadmanagement.plugin.soadmanagement.provider;

import java.util.ArrayList;
import java.util.Collection;

import org.admanager.soadmanagement.plugin.soadmanagement.util.soadmanagementAdapterFactory;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.edit.provider.ChangeNotifier;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
import org.eclipse.emf.edit.provider.IChangeNotifier;
import org.eclipse.emf.edit.provider.IDisposable;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.INotifyChangedListener;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;

/**
 * This is the factory that is used to provide the interfaces needed to support Viewers.
 * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
 * The adapters also support Eclipse property sheets.
 * Note that most of the adapters are shared among multiple instances.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public class soadmanagementItemProviderAdapterFactory extends soadmanagementAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
	/**
	 * This keeps track of the root adapter factory that delegates to this adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ComposedAdapterFactory parentAdapterFactory;

	/**
	 * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected IChangeNotifier changeNotifier = new ChangeNotifier();

	/**
	 * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected Collection supportedTypes = new ArrayList();

	/**
	 * This constructs an instance.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public soadmanagementItemProviderAdapterFactory() {
		supportedTypes.add(IEditingDomainItemProvider.class);
		supportedTypes.add(IStructuredItemContentProvider.class);
		supportedTypes.add(ITreeItemContentProvider.class);
		supportedTypes.add(IItemLabelProvider.class);
		supportedTypes.add(IItemPropertySource.class);
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.PComponent} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PComponentItemProvider pComponentItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.PComponent}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPComponentAdapter() {
		if (pComponentItemProvider == null) {
			pComponentItemProvider = new PComponentItemProvider(this);
		}

		return pComponentItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.PComposite} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PCompositeItemProvider pCompositeItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.PComposite}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPCompositeAdapter() {
		if (pCompositeItemProvider == null) {
			pCompositeItemProvider = new PCompositeItemProvider(this);
		}

		return pCompositeItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.PReference} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PReferenceItemProvider pReferenceItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.PReference}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPReferenceAdapter() {
		if (pReferenceItemProvider == null) {
			pReferenceItemProvider = new PReferenceItemProvider(this);
		}

		return pReferenceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.PService} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PServiceItemProvider pServiceItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.PService}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPServiceAdapter() {
		if (pServiceItemProvider == null) {
			pServiceItemProvider = new PServiceItemProvider(this);
		}

		return pServiceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.PComponentService} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PComponentServiceItemProvider pComponentServiceItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.PComponentService}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPComponentServiceAdapter() {
		if (pComponentServiceItemProvider == null) {
			pComponentServiceItemProvider = new PComponentServiceItemProvider(this);
		}

		return pComponentServiceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.PComponentReference} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PComponentReferenceItemProvider pComponentReferenceItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.PComponentReference}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPComponentReferenceAdapter() {
		if (pComponentReferenceItemProvider == null) {
			pComponentReferenceItemProvider = new PComponentReferenceItemProvider(this);
		}

		return pComponentReferenceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.PElement} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PElementItemProvider pElementItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.PElement}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPElementAdapter() {
		if (pElementItemProvider == null) {
			pElementItemProvider = new PElementItemProvider(this);
		}

		return pElementItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.Pattern} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PatternItemProvider patternItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.Pattern}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPatternAdapter() {
		if (patternItemProvider == null) {
			patternItemProvider = new PatternItemProvider(this);
		}

		return patternItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.PRole} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PRoleItemProvider pRoleItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.PRole}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPRoleAdapter() {
		if (pRoleItemProvider == null) {
			pRoleItemProvider = new PRoleItemProvider(this);
		}

		return pRoleItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.PMultiplicity} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PMultiplicityItemProvider pMultiplicityItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.PMultiplicity}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPMultiplicityAdapter() {
		if (pMultiplicityItemProvider == null) {
			pMultiplicityItemProvider = new PMultiplicityItemProvider(this);
		}

		return pMultiplicityItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.PConstraint} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PConstraintItemProvider pConstraintItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.PConstraint}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPConstraintAdapter() {
		if (pConstraintItemProvider == null) {
			pConstraintItemProvider = new PConstraintItemProvider(this);
		}

		return pConstraintItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.Component} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ComponentItemProvider componentItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.Component}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createComponentAdapter() {
		if (componentItemProvider == null) {
			componentItemProvider = new ComponentItemProvider(this);
		}

		return componentItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.Composite} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected CompositeItemProvider compositeItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.Composite}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createCompositeAdapter() {
		if (compositeItemProvider == null) {
			compositeItemProvider = new CompositeItemProvider(this);
		}

		return compositeItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.Reference} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ReferenceItemProvider referenceItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.Reference}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createReferenceAdapter() {
		if (referenceItemProvider == null) {
			referenceItemProvider = new ReferenceItemProvider(this);
		}

		return referenceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.Service} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ServiceItemProvider serviceItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.Service}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createServiceAdapter() {
		if (serviceItemProvider == null) {
			serviceItemProvider = new ServiceItemProvider(this);
		}

		return serviceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.ComponentService} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ComponentServiceItemProvider componentServiceItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.ComponentService}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createComponentServiceAdapter() {
		if (componentServiceItemProvider == null) {
			componentServiceItemProvider = new ComponentServiceItemProvider(this);
		}

		return componentServiceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.ComponentReference} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ComponentReferenceItemProvider componentReferenceItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.ComponentReference}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createComponentReferenceAdapter() {
		if (componentReferenceItemProvider == null) {
			componentReferenceItemProvider = new ComponentReferenceItemProvider(this);
		}

		return componentReferenceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.DocumentRoot} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected DocumentRootItemProvider documentRootItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.DocumentRoot}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createDocumentRootAdapter() {
		if (documentRootItemProvider == null) {
			documentRootItemProvider = new DocumentRootItemProvider(this);
		}

		return documentRootItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.RootMapping} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected RootMappingItemProvider rootMappingItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.RootMapping}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createRootMappingAdapter() {
		if (rootMappingItemProvider == null) {
			rootMappingItemProvider = new RootMappingItemProvider(this);
		}

		return rootMappingItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.CompositeMapping} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected CompositeMappingItemProvider compositeMappingItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.CompositeMapping}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createCompositeMappingAdapter() {
		if (compositeMappingItemProvider == null) {
			compositeMappingItemProvider = new CompositeMappingItemProvider(this);
		}

		return compositeMappingItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.ComponentMapping} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ComponentMappingItemProvider componentMappingItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.ComponentMapping}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createComponentMappingAdapter() {
		if (componentMappingItemProvider == null) {
			componentMappingItemProvider = new ComponentMappingItemProvider(this);
		}

		return componentMappingItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.ReferenceMapping} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ReferenceMappingItemProvider referenceMappingItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.ReferenceMapping}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createReferenceMappingAdapter() {
		if (referenceMappingItemProvider == null) {
			referenceMappingItemProvider = new ReferenceMappingItemProvider(this);
		}

		return referenceMappingItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.ServiceMapping} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ServiceMappingItemProvider serviceMappingItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.ServiceMapping}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createServiceMappingAdapter() {
		if (serviceMappingItemProvider == null) {
			serviceMappingItemProvider = new ServiceMappingItemProvider(this);
		}

		return serviceMappingItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.ComponentReferenceMapping} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ComponentReferenceMappingItemProvider componentReferenceMappingItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.ComponentReferenceMapping}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createComponentReferenceMappingAdapter() {
		if (componentReferenceMappingItemProvider == null) {
			componentReferenceMappingItemProvider = new ComponentReferenceMappingItemProvider(this);
		}

		return componentReferenceMappingItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link org.admanager.soadmanagement.plugin.soadmanagement.ComponentServiceMapping} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ComponentServiceMappingItemProvider componentServiceMappingItemProvider;

	/**
	 * This creates an adapter for a {@link org.admanager.soadmanagement.plugin.soadmanagement.ComponentServiceMapping}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createComponentServiceMappingAdapter() {
		if (componentServiceMappingItemProvider == null) {
			componentServiceMappingItemProvider = new ComponentServiceMappingItemProvider(this);
		}

		return componentServiceMappingItemProvider;
	}

	/**
	 * This returns the root adapter factory that contains this factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ComposeableAdapterFactory getRootAdapterFactory() {
		return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
	}

	/**
	 * This sets the composed adapter factory that contains this factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
		this.parentAdapterFactory = parentAdapterFactory;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public boolean isFactoryForType(Object type) {
		return supportedTypes.contains(type) || super.isFactoryForType(type);
	}

	/**
	 * This implementation substitutes the factory itself as the key for the adapter.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter adapt(Notifier notifier, Object type) {
		return super.adapt(notifier, this);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Object adapt(Object object, Object type) {
		if (isFactoryForType(type)) {
			Object adapter = super.adapt(object, type);
			if (!(type instanceof Class) || (((Class)type).isInstance(adapter))) {
				return adapter;
			}
		}

		return null;
	}

	/**
	 * This adds a listener.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void addListener(INotifyChangedListener notifyChangedListener) {
		changeNotifier.addListener(notifyChangedListener);
	}

	/**
	 * This removes a listener.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void removeListener(INotifyChangedListener notifyChangedListener) {
		changeNotifier.removeListener(notifyChangedListener);
	}

	/**
	 * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void fireNotifyChanged(Notification notification) {
		changeNotifier.fireNotifyChanged(notification);

		if (parentAdapterFactory != null) {
			parentAdapterFactory.fireNotifyChanged(notification);
		}
	}

	/**
	 * This disposes all of the item providers created by this factory. 
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void dispose() {
		if (pComponentItemProvider != null) pComponentItemProvider.dispose();
		if (pCompositeItemProvider != null) pCompositeItemProvider.dispose();
		if (pReferenceItemProvider != null) pReferenceItemProvider.dispose();
		if (pServiceItemProvider != null) pServiceItemProvider.dispose();
		if (pComponentServiceItemProvider != null) pComponentServiceItemProvider.dispose();
		if (pComponentReferenceItemProvider != null) pComponentReferenceItemProvider.dispose();
		if (pElementItemProvider != null) pElementItemProvider.dispose();
		if (patternItemProvider != null) patternItemProvider.dispose();
		if (pRoleItemProvider != null) pRoleItemProvider.dispose();
		if (pMultiplicityItemProvider != null) pMultiplicityItemProvider.dispose();
		if (pConstraintItemProvider != null) pConstraintItemProvider.dispose();
		if (componentItemProvider != null) componentItemProvider.dispose();
		if (compositeItemProvider != null) compositeItemProvider.dispose();
		if (referenceItemProvider != null) referenceItemProvider.dispose();
		if (serviceItemProvider != null) serviceItemProvider.dispose();
		if (componentServiceItemProvider != null) componentServiceItemProvider.dispose();
		if (componentReferenceItemProvider != null) componentReferenceItemProvider.dispose();
		if (documentRootItemProvider != null) documentRootItemProvider.dispose();
		if (rootMappingItemProvider != null) rootMappingItemProvider.dispose();
		if (compositeMappingItemProvider != null) compositeMappingItemProvider.dispose();
		if (componentMappingItemProvider != null) componentMappingItemProvider.dispose();
		if (referenceMappingItemProvider != null) referenceMappingItemProvider.dispose();
		if (serviceMappingItemProvider != null) serviceMappingItemProvider.dispose();
		if (componentReferenceMappingItemProvider != null) componentReferenceMappingItemProvider.dispose();
		if (componentServiceMappingItemProvider != null) componentServiceMappingItemProvider.dispose();
	}

}
